package com.joe.other;

public class Child extends Parent {

    private Integer age;

    private String desc;
    /**
     * id
     */
    private Integer id;

    /**
     * name
     */
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Child(Integer id, String name, Integer age, String desc) {
        this.setId(id);
        this.setName(name);
        this.age = age;
        this.desc = desc;
    }

    public Integer getAge() {
        return this.age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }


}
